import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import router from './router';
import axios from './httpConfig/http';
import VueCropper from 'vue-cropper';
import JsonViewer from 'vue-json-viewer';

Vue.prototype.$http = axios

Vue.use(VueCropper);
Vue.use(ElementUI);
Vue.use(JsonViewer);
Vue.config.productionTip = false;

new Vue({
  router: router,
  render: h => h(App),
}).$mount('#app')